object TopluReceteDegisimF: TTopluReceteDegisimF
  Left = 323
  Top = 137
  Width = 623
  Height = 487
  Caption = 'Toplu Re'#231'ete De'#287'isimi'
  Color = clBtnFace
  Font.Charset = TURKISH_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Arial'
  Font.Style = []
  OldCreateOrder = False
  Position = poDefaultPosOnly
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 14
  object wwDBGrid1: TwwDBGrid
    Left = 0
    Top = 127
    Width = 615
    Height = 300
    DisableThemes = False
    ControlType.Strings = (
      'selected;CheckBox;1;0')
    Selected.Strings = (
      'selected'#9'3'#9'Se'#231#9'F'
      'AnaStokkodu'#9'19'#9'AnaStokkodu'#9'F'
      'recetekodu'#9'20'#9'Re'#231'ete Kodu'#9'F'
      'stokkodu'#9'30'#9'Stok Kodu'#9'F'
      'miktar'#9'10'#9'Miktar'#9'F')
    IniAttributes.Delimiter = ';;'
    TitleColor = clBtnFace
    FixedCols = 0
    ShowHorzScrollBar = True
    Align = alClient
    DataSource = ReceteHarQS
    Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgWordWrap]
    TabOrder = 0
    TitleAlignment = taLeftJustify
    TitleFont.Charset = TURKISH_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Arial'
    TitleFont.Style = []
    TitleLines = 1
    TitleButtons = False
    UseTFields = False
    OnKeyPress = wwDBGrid1KeyPress
  end
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 615
    Height = 127
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 1
    object Label1: TLabel
      Left = 8
      Top = 12
      Width = 62
      Height = 14
      Caption = 'Re'#231'ete Kodu'
    end
    object Label2: TLabel
      Left = 8
      Top = 59
      Width = 49
      Height = 14
      Caption = 'Stok Kodu'
    end
    object Label4: TLabel
      Left = 216
      Top = 14
      Width = 25
      Height = 14
      Caption = '[_,%]'
    end
    object Bevel2: TBevel
      Left = 5
      Top = 84
      Width = 591
      Height = 9
      Shape = bsTopLine
    end
    object Label3: TLabel
      Left = 8
      Top = 90
      Width = 77
      Height = 28
      Alignment = taCenter
      AutoSize = False
      Caption = 'Yeni Stok Kodu Miktar'
      WordWrap = True
    end
    object Label5: TLabel
      Left = 216
      Top = 38
      Width = 25
      Height = 14
      Caption = '[_,%]'
    end
    object Label6: TLabel
      Left = 8
      Top = 36
      Width = 64
      Height = 14
      Caption = 'AnaStokkodu'
    end
    object ReceteKoduk: TEdit
      Left = 88
      Top = 8
      Width = 121
      Height = 22
      TabOrder = 0
    end
    object StokKoduk: TwwDBComboDlg
      Tag = 1
      Left = 88
      Top = 56
      Width = 153
      Height = 22
      ShowButton = True
      Style = csDropDown
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      TabOrder = 2
      WordWrap = False
      UnboundDataType = wwDefault
      OnKeyPress = StokKodukKeyPress
    end
    object YeniStokkoduk: TwwDBComboDlg
      Tag = 1
      Left = 88
      Top = 92
      Width = 153
      Height = 22
      ShowButton = True
      Style = csDropDown
      Font.Charset = TURKISH_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      TabOrder = 3
      WordWrap = False
      UnboundDataType = wwDefault
      OnKeyPress = YeniStokkodukKeyPress
    end
    object bdegistir: TBitBtn
      Tag = 1
      Left = 306
      Top = 90
      Width = 75
      Height = 25
      Caption = 'De'#287'i'#351'tir'
      TabOrder = 5
      TabStop = False
      OnClick = bdegistirClick
    end
    object Miktar: TwwDBSpinEdit
      Left = 242
      Top = 92
      Width = 57
      Height = 22
      Increment = 1.000000000000000000
      TabOrder = 4
      UnboundDataType = wwDefault
    end
    object btSil: TBitBtn
      Tag = 2
      Left = 296
      Top = 56
      Width = 75
      Height = 25
      Caption = 'Sil'
      TabOrder = 6
      TabStop = False
      OnClick = bdegistirClick
    end
    object btEkle: TBitBtn
      Tag = 3
      Left = 385
      Top = 90
      Width = 75
      Height = 25
      Caption = 'Ekle'
      TabOrder = 7
      TabStop = False
      OnClick = btEkleClick
    end
    object AnaStokkoduk: TEdit
      Left = 88
      Top = 32
      Width = 121
      Height = 22
      TabOrder = 1
    end
    object cbStokbilesen: TCheckBox
      Left = 465
      Top = 93
      Width = 134
      Height = 17
      Caption = 'Stok Bile'#351'en Sat'#305'r'#305' Ekle'
      TabOrder = 8
    end
  end
  object Panel2: TPanel
    Left = 0
    Top = 427
    Width = 615
    Height = 33
    Align = alBottom
    BevelOuter = bvNone
    TabOrder = 2
    DesignSize = (
      615
      33)
    object Label7: TLabel
      Left = 416
      Top = 10
      Width = 39
      Height = 14
      Anchors = [akTop, akRight]
      Caption = 'Toplam :'
    end
    object LToplam: TLabel
      Left = 461
      Top = 10
      Width = 6
      Height = 14
      Anchors = [akTop, akRight]
      Caption = '0'
    end
    object bkapat: TBitBtn
      Left = 535
      Top = 5
      Width = 73
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = 'Kapat'
      TabOrder = 0
      OnClick = bkapatClick
    end
    object btumunusec: TBitBtn
      Left = 112
      Top = 5
      Width = 78
      Height = 25
      Caption = 'T'#252'm'#252'n'#252' Se'#231
      TabOrder = 1
      OnClick = btumunusecClick
    end
    object blistele: TBitBtn
      Left = 4
      Top = 5
      Width = 85
      Height = 25
      Caption = 'Listele'
      TabOrder = 2
      OnClick = blisteleClick
    end
  end
  object ReceteHarQ: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    AfterOpen = ReceteHarQAfterOpen
    Parameters = <>
    SQL.Strings = (
      
        'select top 10 null as selected,recetekodu=(select stokkodu from ' +
        'recete where recete.id=recetehar.receteid),*,AnaStokkodu=(select' +
        ' stokkodu from recete where recete.id=recetehar.receteid)  into ' +
        '#yeni from  recetehar where receteid'
      'in'
      '('
      'select id from recete'
      ')'
      ''
      'select * from #yeni drop table #yeni')
    Left = 200
    Top = 176
  end
  object ReceteHarQS: TDataSource
    DataSet = ReceteHarQ
    Left = 124
    Top = 166
  end
  object StokBulQ: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <>
    SQL.Strings = (
      
        'select null as selected,recetekodu=(select stokkodu from recete ' +
        'where recete.id=recetehar.receteid),* into #yeni from  recetehar' +
        ' where receteid'
      'in'
      '('
      'select id from recete'
      ')'
      ''
      'select * from #yeni drop table #yeni')
    Left = 292
    Top = 215
  end
  object ReceteDegistirQ: TADOQuery
    Connection = dm.connect
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      
        'select null as selected,recetekodu=(select stokkodu from recete ' +
        'where recete.id=recetehar.receteid),* into #yeni from  recetehar' +
        ' where receteid'
      'in'
      '('
      'select id from recete'
      ')'
      ''
      'select * from #yeni drop table #yeni')
    Left = 200
    Top = 248
  end
end
